//使用try-catch是为了防止用户关闭了localStroage,导致抛出异常
let defaultCity = '北京'
try{
    if(localStorage.city){
        defaultCity = localStorage.city
    }
}catch(e){}

export default{
    city:defaultCity
}